import axios from 'axios';

export function saveMain(form) {
  return axios.post('/fx/api/saveMain', form)
}

export function getMain(id) {
  return axios.get(`/fx/api/getMain/${id}`)
}

export function getMainSize(id) {
  return axios.get(`/fx/api/getMainSize/` + id)
}

export function getUserTime(key) {
  return axios.post(`/fx/api/getUserTimeKey?s=` + encodeURIComponent(key))
}
